package org.example.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName a_goods_material
 */
@Data
public class GoodsMaterialVo implements Serializable {
    /**
     * 入库单号（雪花算法）
     */
    private String id;

    /**
     * 加工商Id
     */
    private Integer businessId;

    /**
     * 仓库id
     */
    private Integer materialHouseId;

    /**
     * 农产品id
     */
    private String cropId;

    /**
     * 加工时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime workTime;

    /**
     * 入库数量
     */
    private Integer warehousingNum;

    private String businessName;
    private String warehouseName;
    private String cropName;

}